//
//  SLUpdateFirmView.h
//  SlockApp
//
//  Created by 凯朱 on 2024/7/30.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface SLUpdateFirmView : UIView
@property (weak, nonatomic) IBOutlet UIView *topView;
@property (weak, nonatomic) IBOutlet UILabel *topLbl1;
@property (weak, nonatomic) IBOutlet UILabel *topContentLbl;
@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet UILabel *tipLbl1;
@property (weak, nonatomic) IBOutlet UILabel *tipLbl2;
@property (weak, nonatomic) IBOutlet UILabel *sizeLbl;
@property (weak, nonatomic) IBOutlet UILabel *tipLbl3;
@property (weak, nonatomic) IBOutlet UILabel *infoLbl;
@property (weak, nonatomic) IBOutlet ZKBaseButton *downloadBtn;
@property (weak, nonatomic) IBOutlet UILabel *tipContentLbl1;
@property (weak, nonatomic) IBOutlet ZKBaseButton *sureBtn;
@property (weak, nonatomic) IBOutlet UIView *tipBgView;
@property (weak, nonatomic) IBOutlet UILabel *tipNewLbl;
@property (nonatomic,copy) void (^btnBlock)(NSInteger btnIndex);
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bgViewHeight;

-(void)refresSubViewWith:(NSDictionary *)updateInfo;
@property (nonatomic, strong)NSURL *filePath;/*本地文件路径*/

@property (nonatomic, assign)CGFloat totalHeight;
-(void)updateWithFinish:(NSString *)version;
@end

NS_ASSUME_NONNULL_END
